package com.eling.elcms.community.webapp.controller;

import com.eling.elcms.community.model.OrgCustomization;
import com.eling.elcms.community.service.IOrgCustomizationService;
import com.eling.elcms.core.webapp.controller.BaseFormController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
public class OrgCustomizationController extends BaseFormController{
    @Autowired
    private IOrgCustomizationService service;

   
    
    @RequestMapping("/api/orgcustomization/query")
    @ResponseBody
    public List<OrgCustomization> query(@ModelAttribute OrgCustomization cond) {
    	return service.query(cond);
    }
    
    
    

}
